@REM  get 请求
@REM curl -s https://jsonplaceholder.typicode.com/posts/1 




@REM  post 请求
curl -s -d '@post.json' https://jsonplaceholder.typicode.com/posts



curl "https://www.cnblogs.com/zhuoss/ajax/PostComment/Add.aspx" ^
  -H "accept: application/json, text/javascript, */*; q=0.01" ^
  -H "accept-language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6" ^
  -H "content-type: application/json; charset=UTF-8" ^
  -H ^"cookie: _ga=GA1.1.920207567.1717286811; _ga_M95P3TTWJZ=deleted; _ga_M95P3TTWJZ=deleted; _clck=1slxzl8^%^7C2^%^7Cfmx^%^7C0^%^7C1625; _ga_3Q0DVSGN10=GS1.1.1720009122.3.1.1720009128.54.0.0; HMACCOUNT=B2EC4F03AFDAAF8D; .AspNetCore.Antiforgery.b8-pDmTq1XM=CfDJ8ONv0caE5GtEh3YJ5j088kn41EEeQP_wuad4pG2kpJi4KlTSt495rBLhqKlUN3i3HxgrEY7lPZCfSZ1f29mzfJ1KHe0rb-Plx3aLfbxv5eVboGaHYS1GxGc2kuf8S3rnf9bPPDdsUvIo0gpl7SMVz7Q; __utma=226521935.920207567.1717286811.1721137299.1721137299.1; __utmc=226521935; __utmz=226521935.1721137299.1.1.utmcsr=zzk.cnblogs.com^|utmccn=(referral)^|utmcmd=referral^|utmcct=/; _ga_XPE8C2TMTE=GS1.1.1721137536.1.1.1721137586.0.0.0; Hm_lvt_866c9be12d4a814454792b1fd0fed295=1722855798; _ga_C2LFP3RFGH=GS1.1.1723040311.25.1.1723040315.0.0.0; .Cnblogs.AspNetCore.Cookies=CfDJ8ONv0caE5GtEh3YJ5j088kkyj_PpE5VLWAzATXGiSwvEsSyj7G9UjaDzrKoAf8F-qEWp6QVcIOSb4ltz4m6cgEeG-TXJyafqh8Fk8C_4hdeKt0eJcMcINSKd1oqx8ToSsknYwrrJMw0CKDP9gU2wYBfPplVLL7KPXH-uQhhOcz2IsnLbU6TQ_DGdwiidVyK5ARwPfxsyRbdfLRoBa95Zr3TFxKXJfeMt526dY9eXGzdWZ57ZDxeXUmatQp63A9DUX631SnCjvoZ1jVsh1Vv944oeEPbXOQGVzC2LpbjK2_WceQKISLB-W4P5_fWuhuHSLgpg9Nn3c9swb-k6PHYSn45xqeX0TyAHdlFSktpOcGmikguNxTO8EM_zEYTVKI5NYaxl9qHa7V6YKNPI_dje2QnJbIaukPKTTwv0Pge3h0j7eK6nQRVGINLJDBv59lEj-25SZukCY78SmjZDhhr0h-gVBsIS2Qj5ZnyRghTOcB7_ZCA9ZAKHvLBvHSTitykOv04_g6ZKPATEoAicgeSif0d1OQfgcN6cQha-cOmHqKz9nLM7PblpGa7rH5qfmzXlyx2mgtCNDuB8FXEbb8czXEo; _ga_L4KFJNGL7P=GS1.1.1723295219.5.1.1723295844.0.0.0; _ga_M95P3TTWJZ=GS1.1.1723474560.74.1.1723474563.0.0.0; Hm_lpvt_866c9be12d4a814454792b1fd0fed295=1723474564^" ^
  -H "origin: https://www.cnblogs.com" ^
  -H "priority: u=1, i" ^
  -H "referer: https://www.cnblogs.com/zhuoss/p/18353191" ^
  -H "requestverificationtoken: CfDJ8ONv0caE5GtEh3YJ5j088km5eV16fClwmCdb8l7b6y14Ygk8qZ3VxNRkSHXxBuiYFX2SBn1pkwDXfr_p20OBUTZJDH7OD6nMuwhyAKhWRXdpFyI49627niAqgy4bNbvra4tUbM58GnGAQJYL4xodz5V08tpNxe32X3biniyjDfbQnoauUNF3o321EC5nWvSA0Q" ^
  -H ^"sec-ch-ua: ^\^"Not/A)Brand^\^";v=^\^"8^\^", ^\^"Chromium^\^";v=^\^"126^\^", ^\^"Microsoft Edge^\^";v=^\^"126^\^"^" ^
  -H "sec-ch-ua-mobile: ?0" ^
  -H ^"sec-ch-ua-platform: ^\^"Windows^\^"^" ^
  -H "sec-fetch-dest: empty" ^
  -H "sec-fetch-mode: cors" ^
  -H "sec-fetch-site: same-origin" ^
  -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0" ^
  -H "x-requested-with: XMLHttpRequest" ^
  --data-raw ^"^{^\^"postId^\^":18353191,^\^"body^\^":^\^"test^\^",^\^"parentCommentId^\^":0^}^"


curl -X POST http://localhost:8080/api -H "Content-Type: application/json" -d @sendfile.json











